package com.taxsearch.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: HotelAndroid
 * @description: 旅馆相关数据
 * @author: Bruse Queen
 * @create: 2021-04-09 09:37
 **/
@Component(value = "hotelData")
@ConfigurationProperties(prefix = "hotelData")
public class HotelDataParam {
    /**
     * 正规旅馆支付金钱
     */
    private static String regHotle_PayPice;

    /**
     * 正规旅馆物料
     */
    private static String regHotle_WLBM;

    /**
     * 非正规旅馆支付金钱
     */
    private static String noRegHotle_PayPice;

    /**
     * 非正规旅馆物料
     */
    private static String noRegHotle_WLBM;

    /**
     * 云平台查询旅馆权限接口
     */
    private static String ypt_reqUrl;

    /**
     * 预置物料编码
     */
    private static String WLBM_ALL;

    public static String getRegHotle_PayPice() {
        return regHotle_PayPice;
    }
    @Value("${hotelData.regHotle_PayPice}")
    public void setRegHotle_PayPice(String regHotle_PayPice) {
        HotelDataParam.regHotle_PayPice = regHotle_PayPice;
    }

    public static String getRegHotle_WLBM() {
        return regHotle_WLBM;
    }

    @Value("${hotelData.regHotle_WLBM}")
    public void setRegHotle_WLBM(String regHotle_WLBM) {
        HotelDataParam.regHotle_WLBM = regHotle_WLBM;
    }

    public static String getNoRegHotle_PayPice() {
        return noRegHotle_PayPice;
    }

    @Value("${hotelData.noRegHotle_PayPice}")
    public void setNoRegHotle_PayPice(String noRegHotle_PayPice) {
        HotelDataParam.noRegHotle_PayPice = noRegHotle_PayPice;
    }

    public static String getNoRegHotle_WLBM() {
        return noRegHotle_WLBM;
    }

    @Value("${hotelData.noRegHotle_WLBM}")
    public void setNoRegHotle_WLBM(String noRegHotle_WLBM) {
        HotelDataParam.noRegHotle_WLBM = noRegHotle_WLBM;
    }

    public static String getYpt_reqUrl() {
        return ypt_reqUrl;
    }

    @Value("${hotelData.ypt_reqUrl}")
    public void setYpt_reqUrl(String ypt_reqUrl) {
        HotelDataParam.ypt_reqUrl = ypt_reqUrl;
    }

    public static String getWlbmAll() {
        return WLBM_ALL;
    }

    @Value("${hotelData.WLBM_ALL}")
    public void setWlbmAll(String wlbmAll) {
        WLBM_ALL = wlbmAll;
    }
}
